home *** CD-ROM | disk | FTP | other *** search
- RCS file: /net/acae127/home/bammi/etc/src/master/gnu/gcc/PatchLev.h,v
- retrieving revision 1.11
- diff -c -r1.11 PatchLev.h
- *** 1.11 1992/12/01 20:46:21
- --- PatchLev.h 1993/01/12 00:47:04
- ***************
- *** 1,4 ****
- ! #define PatchLevel "1"
-
- /*
- * the Patch Level above is to identify the version
- --- 1,4 ----
- ! #define PatchLevel "2"
-
- /*
- * the Patch Level above is to identify the version
- ===================================================================
- RCS file: /net/acae127/home/bammi/etc/src/master/gnu/gcc/README.TOS,v
- retrieving revision 1.9
- diff -c -r1.9 README.TOS
- *** 1.9 1992/11/30 20:44:41
- --- README.TOS 1993/01/12 00:47:06
- ***************
- *** 1,17 ****
- This is the README file for the GNU native/cross compiler. Diffs are
- ! with respect to GCC V2.3.1
-
- -configuration:
- ! copy all the files from the gcc v2.3.1 distribution
- into a directory called SRC (i created symbolic links between
- the files).
- ! copy all the files from the gcc v2.3.1 distribution
- sub-directory config into SRC/config
- copy all the files in this directory into SRC.
- copy xm-atari.h and tm-atari.h into SRC/config
- cd to SRC
- Apply the diffs using larry walls patch program
- ! patch -p < gcc-231.diff
- make the following links in SRC
- config.h to config/xm-atari.h
- tconfig.h to config/xm-atari.h
- --- 1,17 ----
- This is the README file for the GNU native/cross compiler. Diffs are
- ! with respect to GCC V2.3.3
-
- -configuration:
- ! copy all the files from the gcc v2.3.3 distribution
- into a directory called SRC (i created symbolic links between
- the files).
- ! copy all the files from the gcc v2.3.3 distribution
- sub-directory config into SRC/config
- copy all the files in this directory into SRC.
- copy xm-atari.h and tm-atari.h into SRC/config
- cd to SRC
- Apply the diffs using larry walls patch program
- ! patch -p < gcc-233.diff
- make the following links in SRC
- config.h to config/xm-atari.h
- tconfig.h to config/xm-atari.h
- RCS file: /net/acae127/home/bammi/etc/src/master/gnu/gcc/cccp.c,v
- retrieving revision 1.16
- diff -c -r1.16 cccp.c
- *** 1.16 1992/12/28 05:27:32
- --- cccp.c 1993/01/12 00:47:09
- ***************
- *** 1805,1810 ****
- --- 1805,1815 ----
- && p[len - 2] == 'c'
- && p[len - 1] == 'c')
- deps_output (p, len - 3);
- + else if (p[len - 4] == '.'
- + && p[len - 3] == 'c'
- + && p[len - 2] == 'x'
- + && p[len - 1] == 'x')
- + deps_output (p, len - 4);
- else if (p[len - 2] == '.' && p[len - 1] == 's')
- deps_output (p, len - 2);
- else if (p[len - 2] == '.' && p[len - 1] == 'S')
- ===================================================================
- RCS file: /net/acae127/home/bammi/etc/src/master/gnu/gcc/cp-decl.c,v
- retrieving revision 1.8
- diff -c -r1.8 cp-decl.c
- *** 1.8 1992/12/27 23:27:05
- --- cp-decl.c 1993/01/12 00:47:14
- ***************
- *** 3752,3757 ****
- --- 3752,3759 ----
- if (match)
- return TREE_VALUE (match);
- context = DECL_CONTEXT (context);
- + if (context && TREE_CODE (context) == RECORD_TYPE)
- + context = TREE_CHAIN (context);
- }
- break;
- case FUNCTION_DECL:
- ***************
- *** 7245,7253 ****
- --- 7247,7262 ----
- tree loc_typedecl;
- register int i = sizeof (struct lang_decl_flags) / sizeof (int);
- register int *pi;
- + struct binding_level *local_binding_level;
-
- /* keep `grokdeclarator' from thinking we are in PARM context. */
- pushlevel (0);
- + /* poplevel_class may be called by grokdeclarator which is called in
- + start_decl which is called below. In this case, our pushed level
- + may vanish and poplevel mustn't be called. So remember what we
- + have pushed and pop only if that is matched by
- + current_binding_level later. mnl@dtro.e-technik.th-darmstadt.de */
- + local_binding_level = current_binding_level;
- loc_typedecl = start_decl (declarator, declspecs, initialized, NULL_TREE);
-
- pi = (int *) permalloc (sizeof (struct lang_decl_flags));
- ***************
- *** 7256,7262 ****
- DECL_LANG_SPECIFIC (loc_typedecl) = (struct lang_decl *) pi;
- /* This poplevel conflicts with the popclass over in
- grokdeclarator. See ``This popclass conflicts'' */
- ! poplevel (0, 0, 0);
-
- #if 0
- if (TREE_CODE (TREE_TYPE (loc_typedecl)) == ENUMERAL_TYPE)
- --- 7265,7272 ----
- DECL_LANG_SPECIFIC (loc_typedecl) = (struct lang_decl *) pi;
- /* This poplevel conflicts with the popclass over in
- grokdeclarator. See ``This popclass conflicts'' */
- ! if (current_binding_level == local_binding_level)
- ! poplevel (0, 0, 0);
-
- #if 0
- if (TREE_CODE (TREE_TYPE (loc_typedecl)) == ENUMERAL_TYPE)
- ***************
- *** 9389,9394 ****
- --- 9399,9406 ----
- return ref;
- }
-
- + static tree classlocal_enum_decls = NULL_TREE;
- +
- /* Begin compiling the definition of an enumeration type.
- NAME is its name (or null if anonymous).
- Returns the type object, as yet incomplete.
- ***************
- *** 9414,9421 ****
- --- 9426,9438 ----
- {
- enumtype = make_node (ENUMERAL_TYPE);
- pushtag (name, enumtype);
- +
- + if (current_class_type != NULL_TREE)
- + TREE_ADDRESSABLE (b->tags) = 1;
- }
-
- + classlocal_enum_decls = NULL_TREE;
- +
- if (TYPE_VALUES (enumtype) != 0)
- {
- /* This enum is a named one that has been declared already. */
- ***************
- *** 9587,9592 ****
- --- 9604,9623 ----
- GNU_xref_decl (current_function_decl, decl);
- }
-
- + if (current_class_type != NULL_TREE)
- + {
- + /* class local enum declaration */
- + decl = build_lang_field_decl (CONST_DECL, name, integer_type_node);
- + DECL_INITIAL (decl) = value;
- + TREE_READONLY (decl) = 1;
- + pushdecl_class_level (decl);
- +
- + /* chain the decl in the tree classlocal_enum_decls
- + See grok_enum_decls () where it is used and reset. */
- + TREE_CHAIN (decl) = classlocal_enum_decls;
- + classlocal_enum_decls = decl;
- + }
- +
- /* Set basis for default for next value. */
- enum_next_value = build_binary_op_nodefault (PLUS_EXPR, value,
- integer_one_node, PLUS_EXPR);
- ***************
- *** 9600,9635 ****
- grok_enum_decls (type, decl)
- tree type, decl;
- {
- ! struct binding_level *b = class_binding_level;
- ! tree tag = NULL_TREE;
- ! tree values;
-
- ! while (b)
- ! {
- ! tag = value_member (type, b->tags);
- ! if (tag)
- ! break;
- ! b = b->level_chain;
- ! }
-
- ! if (b == 0 || (b != class_binding_level) || TREE_ADDRESSABLE (tag))
- return decl;
- ! else
- ! TREE_ADDRESSABLE (tag) = 1;
- !
- ! values = TYPE_VALUES (type);
- ! while (values)
- {
- ! /* Create a declaration for the enum value name. */
- ! tree next = build_lang_field_decl (CONST_DECL, TREE_PURPOSE (values), type);
- ! TREE_READONLY (next) = 1;
- ! DECL_INITIAL (next) = TREE_VALUE (values);
- ! TREE_CHAIN (next) = decl;
- ! decl = next;
- ! pushdecl_class_level (decl);
- ! values = TREE_CHAIN (values);
- }
- ! return decl;
- }
-
- /* Create the FUNCTION_DECL for a function definition.
- --- 9631,9655 ----
- grok_enum_decls (type, decl)
- tree type, decl;
- {
- ! tree d, ret;
-
- ! d = ret = classlocal_enum_decls;
- ! classlocal_enum_decls = NULL_TREE;
-
- ! if (d == 0)
- return decl;
- !
- ! for (;;)
- {
- ! TREE_TYPE (d) = type;
- ! if (TREE_CHAIN (d) == NULL_TREE)
- ! {
- ! TREE_CHAIN (d) = decl;
- ! break;
- ! }
- ! d = TREE_CHAIN (d);
- }
- ! return ret;
- }
-
- /* Create the FUNCTION_DECL for a function definition.
- ===================================================================
- RCS file: /net/acae127/home/bammi/etc/src/master/gnu/gcc/cp-parse.y,v
- retrieving revision 1.9
- diff -c -r1.9 cp-parse.y
- *** 1.9 1992/11/30 20:34:20
- --- cp-parse.y 1993/01/12 00:47:19
- ***************
- *** 2335,2341 ****
- if (TREE_CODE (t) == ENUMERAL_TYPE && TREE_NONLOCAL_FLAG (t))
- $$ = grok_enum_decls (t, $2);
- else
- ! $$ = $2;
- }
- end_exception_decls ();
- }
- --- 2335,2357 ----
- if (TREE_CODE (t) == ENUMERAL_TYPE && TREE_NONLOCAL_FLAG (t))
- $$ = grok_enum_decls (t, $2);
- else
- ! {
- ! /* if a component is a typedef, it is inserted
- ! in the list of nodes that make up the valid
- ! types in the scope. Thus its chain field is
- ! used and can't be used a second time for linking
- ! the components of the struct. So, we make a copy
- ! here. This apparently works. The proper thing
- ! to do, however, would be to use a TREE_LIST
- ! node to reference the typedef. I tried to rewrite
- ! finish_struct accordingly (i.e., ``dereference''
- ! components TREE_LIST before use, but I gave up.
- ! mnl@dtro.e-technik.th-darmstadt.de */
- ! if (TREE_CODE ($2) == TYPE_DECL)
- ! $$ = copy_node ($2);
- ! else
- ! $$ = $2;
- ! }
- }
- end_exception_decls ();
- }
- ===================================================================
- RCS file: /net/acae127/home/bammi/etc/src/master/gnu/gcc/fixincludes,v
- retrieving revision 1.9
- diff -c -r1.9 fixincludes
- *** 1.9 1992/12/27 23:27:44
- --- fixincludes 1993/01/12 00:47:22
- ***************
- *** 177,182 ****
- --- 177,193 ----
- dirname=`echo $dirname | sed -e 's|[^/]*/||'`
- done
- fi
- + # Duplicate directory structure created in ${LIB}/$file in new
- + # root area.
- + for file2 in $files; do
- + if expr ${file2} : "${file}/.*" > /dev/null ; then
- + dupdir=${LIB}/root$x/`echo $file2 | sed -n "s|^${file}/||p"`
- + # echo "Duplicating from ${file}'s ${file2} to ${dupdir}"
- + if [ ! -d ${dupdir} ] ; then
- + mkdir ${dupdir}
- + fi
- + fi
- + done
- rm -fr ${LIB}/$file > /dev/null 2>&1
- ln -s ${LIB}/root$x ${LIB}/$file > /dev/null 2>&1
- treetops="$treetops $x ${LIB}/root$x"
- ===================================================================
- RCS file: /net/acae127/home/bammi/etc/src/master/gnu/gcc/config/bsd386.h,v
- retrieving revision 1.3
- diff -c -r1.3 bsd386.h
- *** 1.3 1992/11/30 20:37:11
- --- bsd386.h 1993/01/12 00:47:51
- ***************
- *** 92,105 ****
- --- 92,115 ----
- PREFIX is the class of label and NUM is the number within the class.
- This is suitable for output with `assemble_name'. */
-
- + #ifdef NO_UNDERSCORES
- #define ASM_GENERATE_INTERNAL_LABEL(BUF,PREFIX,NUMBER) \
- + sprintf ((BUF), "*.%s%d", (PREFIX), (NUMBER))
- + #else
- + #define ASM_GENERATE_INTERNAL_LABEL(BUF,PREFIX,NUMBER) \
- sprintf ((BUF), "*%s%d", (PREFIX), (NUMBER))
- + #endif
-
- /* This is how to output an internal numbered label where
- PREFIX is the class of label and NUM is the number within the class. */
-
- + #ifdef NO_UNDERSCORES
- + #define ASM_OUTPUT_INTERNAL_LABEL(FILE,PREFIX,NUM) \
- + fprintf (FILE, ".%s%d:\n", PREFIX, NUM)
- + #else
- #define ASM_OUTPUT_INTERNAL_LABEL(FILE,PREFIX,NUM) \
- fprintf (FILE, "%s%d:\n", PREFIX, NUM)
- + #endif
-
- /* This is how to output a reference to a user-level label named NAME. */
-
- ===================================================================
- RCS file: /net/acae127/home/bammi/etc/src/master/gnu/gcc/config/sparc.h,v
- retrieving revision 1.8
- diff -c -r1.8 sparc.h
- *** 1.8 1992/11/30 20:38:41
- --- sparc.h 1993/01/12 00:47:52
- ***************
- *** 1716,1722 ****
- base = XEXP (addr, 0), index = XEXP (addr, 1); \
- fputs (reg_names[REGNO (base)], FILE); \
- if (index == 0) \
- ! fprintf (FILE, "%+d", offset); \
- else if (GET_CODE (index) == REG) \
- fprintf (FILE, "+%s", reg_names[REGNO (index)]); \
- else if (GET_CODE (index) == SYMBOL_REF) \
- --- 1716,1722 ----
- base = XEXP (addr, 0), index = XEXP (addr, 1); \
- fputs (reg_names[REGNO (base)], FILE); \
- if (index == 0) \
- ! fprintf (FILE, "+%d", offset); \
- else if (GET_CODE (index) == REG) \
- fprintf (FILE, "+%s", reg_names[REGNO (index)]); \
- else if (GET_CODE (index) == SYMBOL_REF) \
-